package com.example.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Hello
 * @since 2024-07-13
 */
@Getter
@Setter
@TableName("restaurant")
public class Restaurant implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "restaurant_id", type = IdType.AUTO)
    private Integer restaurantId;

    @TableField("restaurant_name")
    private String restaurantName;

    @TableField("restaurant_address")
    private String restaurantAddress;

    @TableField("restaurant_rating")
    private BigDecimal restaurantRating;

    @TableField("restaurant_openingtime")
    private LocalTime restaurantOpeningtime;

    @TableField("restaurant_closingtime")
    private LocalTime restaurantClosingtime;

    @TableField("restaurant_image")
    private String restaurantImage;
}
